package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * banner子项对象 banner_item
 * 
 * @author ruoyi
 * @date 2023-04-28
 */
public class BannerItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 外键，关联image表 */
    @Excel(name = "外键，关联image表")
    private String imgUrl;

    /** 执行关键字，根据不同的type含义不同 */
    @Excel(name = "执行关键字，根据不同的type含义不同")
    private String announcementId;

    /** 外键，关联banner表 */
    @Excel(name = "外键，关联banner表")
    private Long bannerId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setAnnouncementId(String announcementId) 
    {
        this.announcementId = announcementId;
    }

    public String getAnnouncementId() 
    {
        return announcementId;
    }
    public void setBannerId(Long bannerId) 
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId() 
    {
        return bannerId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgUrl", getImgUrl())
            .append("announcementId", getAnnouncementId())
            .append("bannerId", getBannerId())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
